<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        {{message}}
        <div :title="date">
            鼠标悬停几秒钟查看此处动态绑定的提示信息！
        </div>
        <div v-if="seen">
            不仅仅如此。
        </div>
        <ol>
            <li v-for = "d in list">
                {{ d }}
            </li>
        </ol>
    </div>

    <script>
        var app=new Vue({
            el:"#app",
            data:{
                message:"hello,world",
                date : '页面加载于' + new Date().toLocaleString(),
                seen : true,
                list : ["ak","m4","awp","aug"]
            }
        })

    </script>
</body>
</html>